apiVersion: v1
kind: ImageStream
metadata:
  name: "waiverdb"
---
apiVersion: v1
kind: ImageStream
metadata:
   name: "waiverdb-upstream"
spec:
  tags:
  - name: latest
    importPolicy:
      scheduled: true
    from:
      kind: DockerImage
{% if env == 'staging' %}
      # The latest successful build of master that passes tests
      # is auto-tagged here.
      name: quay.io/factory2/waiverdb:latest
{% else %}
      # This is 'prod' tag is maintained by hand.
      name: quay.io/factory2/waiverdb:prod
{% endif %}
